package com.niiwoo.civet.mobile.vo.response.fefund;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 还款结果
 */
@Setter
@Getter
@ApiModel
public class RepayQueryResponseVO {

    @ApiModelProperty(value = "本次还款实还金额")
    private BigDecimal repaidAmount;
    @ApiModelProperty(value = "本次还款剩余未还金额")
    private BigDecimal needRepayAmount;
    @ApiModelProperty(value = "标的名称")
    private String title;
    @ApiModelProperty(value = "当前期数")
    private Integer currentPeriod;
    @ApiModelProperty(value = "总期数")
    private Integer totalPeriod;
    @ApiModelProperty(value = "下期还款时间")
    private Date nextRefundDate;
    @ApiModelProperty(value = "还款状态：0-初始化，1-处理中，2-成功，3-失败")
    private Byte code;
    @ApiModelProperty(value = "错误信息")
    private String message;

}
